const express = require('express');
const cookieParser = require('cookie-parser');

const server = express();

// cookie读取
server.use(cookieParser());

server.use('/aaa/a.html', (req, res) => {
    console.log(req.cookies);
    res.send('ok');
});

server.listen(8080, () => {
    console.log('服务启动成功!');
});

